package com.cargohu.aishouyu.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 聊天常用语标签
 *
 * @author yww
 * @since 2023-11-28
 */
@Data
@TableName("chat_phrase_label")
@Schema(description = "聊天常用语标签")
public class ChatPhraseLabel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "标签ID")
    @TableId(value = "label_id", type = IdType.ASSIGN_ID)
    private Long labelId;

    @Schema(description = "标签名称")
    private String labelName;

    @Schema(description = "排序")
    private Integer sort;

    @TableLogic
    @Schema(description = "删除标记，0未删除，1已删除")
    private String delFlag;

}

